notebook: Don't allocate during size requests
authorBenjamin Otte <otte@redhat.com>
Fri, 18 Dec 2015 00:01:33 +0000 (01:01 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 19 Dec 2015 05:13:56 +0000 (06:13 +0100)
wat?

gtk/gtknotebook.c

index 5d27c6c4a175a8f9b8c431e27fa7de01d8babc79..361d4774c8814f537efc12c2a482e42f5ba00584 100644 (file)
@@ -6871,8 +6871,6 @@ gtk_notebook_real_switch_page (GtkNotebook     *notebook,
           gtk_widget_grab_focus (GTK_WIDGET (notebook));
     }
 
-  gtk_notebook_pages_allocate (notebook);
-
   gtk_widget_queue_resize (GTK_WIDGET (notebook));
   g_object_notify_by_pspec (G_OBJECT (notebook), properties[PROP_PAGE]);
 }